#!/bin/bash

resnet=dirname
[ -d ~/$dirname ] || sudo mkdir ~/$dirname
sudo chown -R $(whoami):$(whoami) ~/$dirname

cd ~/$dirname
sudo apt install python3-venv
python3 -m venv $dirname
source $dirname/bin/activate

pip3 install --pre torch torchvision torchaudio --index-url https://download.pytorch.org/whl/nightly/rocm6.0
